import request from '/@/api/request'

/** 用户注册 */
export const requestRegister = (data: AccountRegisterTypes.IRequest) => {
  return request.post<IBaseResponse<AccountRegisterTypes.IResponse>>('/system/ysys-user/unAuth/account/register/V1', data)
}

/** 用户修改密码 */
export const requestUpdatePwd = (data: AccountUpdatePwdTypes.IRequest) => {
  return request.post<IBaseResponse<AccountUpdatePwdTypes.IResponse>>('/system/ysys-user/unAuth/account/updatePwd/V1', data)
}
